package com.jason.www.service;

import com.jason.www.domain.Roles;
import com.jason.www.domain.User;

import java.util.List;
import java.util.Set;

/**
 * Created by Cai on 2018/6/7.
 */
public interface UserService {
    public List<User> findUser();
    public Boolean addUser(User user);

    Set<Roles> getRolesByLoginName(String loginName);

    User getUserByUsername(String username);

    User getUserByLoginName(String loginName);
}
